package cn.yunhe.service;

import cn.yunhe.pojo.*;

import java.util.List;

public interface UsersService {

    PageBean listDeptOfPage(PageBean pageBean);

    /**
     * 部门的全部信息
     * @return
     */
    List<DeptP> listDept();

    /**
     * 根据id来查用户
     * @param id
     * @return
     */
    Userp findUserById(String id);



    int insertUserAndUserInf(Userp userp, UserInfoP userInfoP);

    int updateUserAndUserIp(Userp userp, UserInfoP userInfoP);

    GllsResult deleteUserByUsertId(String[] userIds);


}
